package top.ysh.provider.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.ysh.provider.dao.GoodsDao;
import top.ysh.provider.domain.Goods;

/**
 * Goods业务层
 */
@Service
public class GoodsService {
    @Autowired
    private GoodsDao goodsDao;

    public Goods findOneById(int id){
        return goodsDao.findOneById(id);
    }
}
